gtkwindowhandle: Refactor click handling a bit
authorCarlos Garnacho <carlosg@gnome.org>
Thu, 2 Feb 2023 09:51:08 +0000 (10:51 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 2 Feb 2023 10:21:22 +0000 (11:21 +0100)
commit3ba3e8286f3446cc9879ac3a90b901c2a9d4f57d
treecf00bccc1301e2867aecb14d9cb6931ea030f4a1
parentfbf4817ef5f308983fa6f2df122917057eed8e6b
gtkwindowhandle: Refactor click handling a bit

Do not get a GdkEvent first and foremost, and only do that in the
parts where the GdkEvent is absolutely necessary (i.e. popping up
the WM menu for the window).
gtk/gtkwindowhandle.c